package com.chinameyer.workorders.dto.staff;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author meyer@HongYe
 */
@Data
public class EditStaffDTO {
    @NotNull(message = "目录ID不能为空")
    private int id;
    @NotBlank(message = "员工姓名不能为空")
    private String staffName;
    @NotNull(message = "目录ID不能为空")
    private int catalogueId;
}
